import React, { Component } from 'react';
import notFoundStyle from './notFound.scss';

class NotFound extends Component {
    constructor(props) {
        super(props);

        this.state = {
            num: 1
        };

    }

    render() {
        return (
            <div className={notFoundStyle['not-found']}>
                <div className={notFoundStyle['err']}>
                    <h1>404 NotFound!</h1>
                    <span>错误：该页不存在！</span><a href="javascript:window.history.go(-1);">返回</a>
                </div>
            </div>
        );
    }
}

export default NotFound;